*{
    margin: 0;
    padding: 0;
}
body{
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
a{
    overflow: hidden;
    position: relative;
    padding: 1em 1em;
    margin: 10px;
    display: inline-block;
    text-decoration: none;
    letter-spacing: 2px;
    color: white;
    border-radius: 40px;
    background: linear-gradient(90deg,rgb(31, 31, 226),rgb(89, 183, 219));
}
a:nth-child(2){
    background: linear-gradient(90deg,rgb(241, 107, 84),rgb(219, 89, 202));
}
span {
    position: absolute;
    background: #fafaf9;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    animation: move 1s linear infinite;
    pointer-events: none;
}

@keyframes move{
    from{
        width: 0;
        height: 0;
        opacity: 0.7;
    }
    to{
        width: 500px;
        height: 500px;
        opacity: 0;
    }
}